//wav a-law/mu-law tables
#include "coder.h"
#if (CONFIG_APP_MP3PLAYER == 1)
//^0x80
CONST short pcm_Alaw_table[256] = {
    -688, -656, -752, -720, -560, -528, -624, -592,
    -944, -912, -1008, -976, -816, -784, -880, -848,
    -344, -328, -376, -360, -280, -264, -312, -296,
    -472, -456, -504, -488, -408, -392, -440, -424,
    -2752, -2624, -3008, -2880, -2240, -2112, -2496, -2368,
    -3776, -3648, -4032, -3904, -3264, -3136, -3520, -3392,
    -1376, -1312, -1504, -1440, -1120, -1056, -1248, -1184,
    -1888, -1824, -2016, -1952, -1632, -1568, -1760, -1696,
    -43, -41, -47, -45, -35, -33, -39, -37,
    -59, -57, -63, -61, -51, -49, -55, -53,
    -11, -9, -15, -13, -3, -1, -7, -5,
    -27, -25, -31, -29, -19, -17, -23, -21,
    -172, -164, -188, -180, -140, -132, -156, -148,
    -236, -228, -252, -244, -204, -196, -220, -212,
    -86, -82, -94, -90, -70, -66, -78, -74,
    -118, -114, -126, -122, -102, -98, -110, -106,
    688, 656, 752, 720, 560, 528, 624, 592,
    944, 912, 1008, 976, 816, 784, 880, 848,
    344, 328, 376, 360, 280, 264, 312, 296,
    472, 456, 504, 488, 408, 392, 440, 424,
    2752, 2624, 3008, 2880, 2240, 2112, 2496, 2368,
    3776, 3648, 4032, 3904, 3264, 3136, 3520, 3392,
    1376, 1312, 1504, 1440, 1120, 1056, 1248, 1184,
    1888, 1824, 2016, 1952, 1632, 1568, 1760, 1696,
    43, 41, 47, 45, 35, 33, 39, 37,
    59, 57, 63, 61, 51, 49, 55, 53,
    11, 9, 15, 13, 3, 1, 7, 5,
    27, 25, 31, 29, 19, 17, 23, 21,
    172, 164, 188, 180, 140, 132, 156, 148,
    236, 228, 252, 244, 204, 196, 220, 212,
    86, 82, 94, 90, 70, 66, 78, 74,
    118, 114, 126, 122, 102, 98, 110, 106};
CONST short pcm_Ulaw_table[256] = {
    -8031, -7775, -7519, -7263, -7007, -6751, -6495, -6239,
    -5983, -5727, -5471, -5215, -4959, -4703, -4447, -4191,
    -3999, -3871, -3743, -3615, -3487, -3359, -3231, -3103,
    -2975, -2847, -2719, -2591, -2463, -2335, -2207, -2079,
    -1983, -1919, -1855, -1791, -1727, -1663, -1599, -1535,
    -1471, -1407, -1343, -1279, -1215, -1151, -1087, -1023,
    -975, -943, -911, -879, -847, -815, -783, -751,
    -719, -687, -655, -623, -591, -559, -527, -495,
    -471, -455, -439, -423, -407, -391, -375, -359,
    -343, -327, -311, -295, -279, -263, -247, -231,
    -219, -211, -203, -195, -187, -179, -171, -163,
    -155, -147, -139, -131, -123, -115, -107, -99,
    -93, -89, -85, -81, -77, -73, -69, -65,
    -61, -57, -53, -49, -45, -41, -37, -33,
    -30, -28, -26, -24, -22, -20, -18, -16,
    -14, -12, -10, -8, -6, -4, -2, 0,
    8031, 7775, 7519, 7263, 7007, 6751, 6495, 6239,
    5983, 5727, 5471, 5215, 4959, 4703, 4447, 4191,
    3999, 3871, 3743, 3615, 3487, 3359, 3231, 3103,
    2975, 2847, 2719, 2591, 2463, 2335, 2207, 2079,
    1983, 1919, 1855, 1791, 1727, 1663, 1599, 1535,
    1471, 1407, 1343, 1279, 1215, 1151, 1087, 1023,
    975, 943, 911, 879, 847, 815, 783, 751,
    719, 687, 655, 623, 591, 559, 527, 495,
    471, 455, 439, 423, 407, 391, 375, 359,
    343, 327, 311, 295, 279, 263, 247, 231,
    219, 211, 203, 195, 187, 179, 171, 163,
    155, 147, 139, 131, 123, 115, 107, 99,
    93, 89, 85, 81, 77, 73, 69, 65,
    61, 57, 53, 49, 45, 41, 37, 33,
    30, 28, 26, 24, 22, 20, 18, 16,
    14, 12, 10, 8, 6, 4, 2, 0};
#endif /* CONFIG_APP_MP3PLAYER */
